@(orders: List[Order])

@import helper._
@import play.api.Play.current

@main(orders.size()+" - Order(s)") {

    <h3>myOrder(s)</h3>
    @for(order <- orders) {
    <div class="panel panel-info">
    	<div class="panel-heading"><h5>@order.getDate()</h5></div>
    	<div class="panel-body">
	  		<fieldset>		
					@for(orderItem <- order.getOrderItems()){
						@item(orderItem)
					}
				</fieldset>
			</div>
		</div>
		}
}